// File:    GroupCategory.cs
// Author:  Liqun
// Created: 2013年6月25日 11:22:26
// Purpose: Definition of Class GroupCategory

using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;

namespace DataAccess.Models
{
	public sealed class GroupCategory
	{
		[Key]
		public int GroupCategoryID
		{
			get;
			set;
		}
		[Required(ErrorMessage = "名称不能为空")]
		public string GroupCategoryName
		{
			get;
			set;
		}
		public string GroupCategoryDescription
		{
			get;
			set;
		}
		public DateTime? GroupCategoryAddTime
		{
			get;
			set;
		}
		public DateTime? GroupCategoryModifyTime
		{
			get;
			set;
		}
		public List<Group> ListGroups
		{
			get;
			set;
		}
	}
}